<?php
require_once 'cache.php';
require_once 'db.php';

define('HD',true);
$cache = new Cache;

if(!$data = $cache->get('student'))
{
	$data = query("select * from stu");
	$cache->set('student',$data,10);
}

print_r($data);
